# THIS MAKEFILE ASSUMES YOU ARE RUNNING LINUX/SUNOS
# IT PROBABLY WON'T WORK ON WINDOWS
# WINDOWS VERSION:
# JAVAC_OPTIONS = -classpath .;..\lib\Jama-1.0.2.jar
JAVAC_OPTIONS = -classpath .:../../lib/Jama-1.0.2.jar

.SUFFIXES: .java .class

.java.class:
	javac $(JAVAC_OPTIONS) $*.java

CLASSES = \
		  ButtonListener.java \
		  ControlComponent.java \
		  Line.java \
		  LinkMatrices.java \
		  Main.java \
		  RobotComponent.java \
		  Window.java \
		  RobotMouseListener.java

default: classes
	echo "USE ./run.sh TO RUN"

classes: $(CLASSES:.java=.class)

clean:
	rm *.class

